<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>修改文章</title>
<style>
			form {
				margin: 0;
			}
			textarea {
				display: block;
			}
</style>
<script type="text/javascript" src="script/jquery-1.6.4.min.js"></script>
<script charset="utf-8" src="kindeditor/kindeditor-min.js"></script>
<script charset="utf-8" src="kindeditor/lang/zh_CN.js"></script>
<script type="text/javascript">
$(function() {
	var editor = KindEditor.create('textarea[id="ckcontent"]',{
		resizeType : 0,
		allowImageUpload : true,
		items : ['source','clearhtml','|','preview','|','justifyleft','justifycenter','justifyright','justifyfull','quickformat','|','forecolor','hilitecolor','|','bold','italic','underline','|','image','flash','|','fullscreen'],
		afterChange:function(){
				$('textarea[id="ckcontent"]').html(this.html());
		}
	}
	);
});
</script>
</head>
<body>
	<center>
		<form>
			<textarea name="content" style="width:800px;height:600px;" id="ckcontent"></textarea>
		</form>
	</center>
</body>
</html>